<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false"%>
<%
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort() +request.getContextPath()+"/";
%>
<!DOCTYPE html>
<html>
<head>
	<base href="<%=basePath %>">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>机场跑道异物监测管理平台</title>
    <!-- bootstrap 核心css -->
    <link rel="stylesheet" href="resources/js/bstable/css/bootstrap.min.css">
    <link rel="stylesheet" href="resources/css/login.css" />
    <!-- jQuery 核心js -->
    <script src="resources/js/jquery-3.5.1.js"></script>
    <!-- bootstrap 核心js -->
    <script src="resources/js/bstable/js/bootstrap.min.js"></script>

    <style type="text/css">
        body {
            background: url(resources/img/bg01.png);
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            /*让背景基于容器*/
            background-attachment: fixed;
            /*当内容高度大雨图片高度，背景图像的位置相对viewport固定*/
            margin-left: auto;
            margin-right: auto;
            margin-top: 200px;
            width: 20em;
        }

        .loginTitle {
            font-size: large;
            color: rgb(87, 170, 248);
            text-align: center;
            margin-left: 35%;

        }
    </style>

    <script type="text/javascript">
        var info = '${info}';
        if (info.length > 0) {
            alert(info);
        }

    </script>

</head>

<body>
    <form action="login" method="post">
        <label class="loginTitle">用户登录</label>
        <div class="form-group">
            <label class="sr-only" for="userId">帐号</label>
            <div class="input-group">
                <div class="input-group-addon">帐号</div>
                <input type="text" class="form-control" id="userName" name="userName" placeholder="请输入帐号" />
            </div>
        </div>
        <div class="form-group">
            <label class="sr-only" for="userId">密码</label>
            <div class="input-group">
                <div class="input-group-addon">密码</div>
                <input type="password" class="form-control" id="userPwd" name="userPwd" placeholder="请输入密码" />
            </div>
        </div>
        <!-- 按钮-->
        <input type="submit" style="width:280px;" value="登 录" class="btn btn-info" />
    </form>


</body>

</html>